\documentclass[lang=cn,device=bnp]{elegantbook}
\usepackage{ulem} % 下划线
\usepackage{xeCJKfntef}
\usepackage{stackengine} % 垂直堆叠支持（自动对齐）

% \setmainfont{times.ttf}[Path=fonts/]
% % 设置中文主字体
% \setCJKmainfont{fsgb2312.ttf}[Path=fonts/]
% \setCJKfamilyfont{titlefont}{fzxbsjt.ttf}[Path=fonts/,AutoFakeBold,AutoFakeSlant]
% \setfontfamily{\timesfont}{times.ttf}[Path=fonts/,AutoFakeBold,AutoFakeSlant]
% \newcommand{\titlefont}{\CJKfamily{titlefont}\timesfont}

% %\setCJKmainfont[BoldFont={FZHei-B01},ItalicFont={FZKai-Z03}]{FZShuSong-Z01}
% \setCJKsansfont{fsgb2312.ttf}[Path=fonts/]
% \setCJKmonofont{fsgb2312.ttf}[Path=fonts/]

% \setCJKfamilyfont{zhsong}{simsun.ttc}[Path=fonts/]
% \setCJKfamilyfont{zhhei}{simhei.ttf}[Path=fonts/]
% \setCJKfamilyfont{zhkai}{ktgb2312.ttf}[Path=fonts/]
% \setCJKfamilyfont{zhfs}{fsgb2312.ttf}[Path=fonts/]

\title{英语魔法师之语法俱乐部}
\subtitle{EASY 学英语}

\author{旋元佑}
\institute{九州出版社}
\date{\today}
\version{0.1}
%\bioinfo{自定义}{信息}

\extrainfo{注意：简单笔记！}

\setcounter{tocdepth}{3}

\logo{logo-blue.png}
\cover{cover.jpg}

\input{emg_config.tex}

\begin{document}

\maketitle

\frontmatter
\tableofcontents

\mainmatter
\part{初级句型 --- 单句}
\input{chapters/chapter1_simple_sentences.tex}
\input{chapters/chapter2_noun_article.tex}
\input{chapters/chapter3_tenses_of_verbs.tex}
\input{chapters/chapter4_infinitive_phrases.tex}
\input{chapters/chapter5_ving.tex}
\input{chapters/chapter6_participle.tex}
\input{chapters/chapter7_adjective.tex}
\input{chapters/chapter8-adv.tex}
\input{chapters/chapter9-moods.tex}
\input{chapters/chapter10-preposition.tex}
\input{chapters/chapter11-sv.tex}
\part{中级句型 --- 复句合句}
\input{chapters/chapter12-nominalclause.tex}
\input{chapters/chapter13-adv.tex}
\input{chapters/chapter14-adj.tex}
\input{chapters/chapter15-p2p-conj.tex}
\part{高级句型 --- 简化通则}
\input{chapters/chapter16-generalrules.tex}
\input{chapters/chapter17-adj-clause.tex}
\input{chapters/chapter18-noun-clause.tex}
\input{chapters/chapter19-adv-clause.tex}
\input{chapters/chapter20-adv-clause2.tex}
\input{chapters/chapter21-clause-prac.tex}
\input{chapters/chapter22-inverted.tex}

\end{document}
